package cn.xsw.entity.vo;

import cn.xsw.entity.User;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author liangYiHui
 * @since 2021-06-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_appointment")
@ApiModel(value="Appointment对象", description="")
public class AppointmentVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户id")
    private User user;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "预约时间")
    private String appoTime;

    @ApiModelProperty(value = "预约信息")
    private String content;

    @ApiModelProperty(value = "状态：1未处理2：已处理3")
    private Boolean state;

    @ApiModelProperty(value = "联系方式")
    private String phone;


}
